function Cat(name,color){
    this.name=name;
    this.color = color;
    this.type = type;
    this.eat = function(){
        console.log('eat 老鼠')
    }
}
let cat1 =new Cat('Tom','灰色')
let cat2 = new Cat('小辉','灰色');
